 package com.ruoyi.domain.equipment;

 import com.ruoyi.common.annotation.Excel;
 import com.ruoyi.common.core.domain.BaseEntity;
 import lombok.Data;

 import java.util.Date;

/**
 * 设备信息对象 mes_equipment
 * @author ruoyi
 */
@Data
public class MesEquipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备ID */
    private Long equipmentId;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private String equipmentCode;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String equipmentName;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private String equipmentType;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String specification;

    /** 制造商 */
    @Excel(name = "制造商")
    private String manufacturer;

    /** 购买日期 */
    @Excel(name = "购买日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date purchaseDate;

    /** 保修期(月) */
    @Excel(name = "保修期(月)")
    private Integer warrantyPeriod;

    /** 设备位置 */
    @Excel(name = "设备位置")
    private String location;

    /** 状态（0正常 1维修中 2停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=维修中,2=停用")
    private String status;
}